{% load staticfiles %}
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <title>运维平台</title>
        <link rel="stylesheet" href="{% static 'css/layui.css' %}">
        <style>
            html,body,.public_div{
                width: 100%;
                height: 100%;
                margin: 0;
            }
        </style>
    </head>
    <body>
        <div id="update_all" class="public_div" >
            <div class="layui-row">
                <div class="layui-col-md4">
                    <div class="demoTable">
                        公司名称：
                        <div class="layui-inline">
                            <input class="layui-input" name="id" id="demoReload">
                        </div>
                        <button id="searchnode" class="layui-btn" data-type="reloads">搜索</button>
                    </div>
                </div>
                <div class="layui-col-md4 layui-col-md-offset8">
                    <div class="layui-btn-group demoTable" id="layerDemo" style="margin-bottom: 0;float:right">
                        <button data-method="getCheckLength" data-type="getCheckLength" class="layui-btn layui-btn-normal">更新数量</button>
                        <button data-method="Update" data-type="Update" class="layui-btn layui-btn-normal">批量更新</button>
                        <button data-method="Deployment" data-type="Deployment" class="layui-btn layui-btn-warm">全部更新</button>
                    </div>
                </div>
            </div>

            <table class="layui-table" id="update" lay-filter="update">
            </table>
        </div>

        <script src="{% static 'layui.all.js' %}"></script>
        <script type="text/html" id="upbarDemo">
            <a class="layui-btn layui-btn-xs" lay-event="updatenu">更新</a>
        </script>
        <script type="text/javascript">
            var update_data = {{ zcell_up| safe }};
        </script>
        <script src="{% static 'js/update/update.js' %}"></script>
    </body>
</html>